import Discover from "@/pages/Discover"
import Playlist from "@/pages/Discover/playlist"
import Home from "@/pages/Home"
import Login from "../pages/Login"
import Page404 from "../pages/Page404"
let routes = [
    {
        path: '/discover',
        element: <Discover />,
        children: [
            {
                path: "playlist",
                element: <Playlist />
            }
        ]
    },
    {
        path: '/home',
        element: <Home />
    },
    {
        path: "/login",
        element: <Login />
    },
    {
        path:"*",
        element:<Page404/>
    }
]

export default routes